cssimagecrossfade: Don't abort() when failing to parse image
authorBenjamin Otte <otte@redhat.com>
Fri, 16 Jul 2021 15:48:25 +0000 (17:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Jul 2021 15:50:09 +0000 (17:50 +0200)
commita76f515569822d2261fc829e834404c8ed878608
tree9a421c88645458270d86bb95ae04ecbe3af030ad
parenta663b8c3134f3245758d0c40dc0696842d33350c
cssimagecrossfade: Don't abort() when failing to parse image

The code wasn't checking if parsing an image failed and just returning
success.

Testcase from bug is attached.

Fixes #4101
gtk/gtkcssimagecrossfade.c
testsuite/css/parser/cross-fade-crash-4101.css [new file with mode: 0644]
testsuite/css/parser/cross-fade-crash-4101.errors [new file with mode: 0644]
testsuite/css/parser/cross-fade-crash-4101.ref.css [new file with mode: 0644]
testsuite/css/parser/meson.build